Repository navigation
MWPW-209096 - Hide Cancel button when 100% uploaded during Acrobat redirect - #917
DavidKHahn wants to merge 2 commits into
Conversation
Per design, hide the splash-screen Cancel button when continueInApp begins (progress bar jumps to 100% and the redirect to Acrobat is committed, so Cancel can no longer stop it). The button is restored whenever the splash screen is shown or hidden again. Follow-up to MWPW-206368. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
|
Validated in branch. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
No activity in 7 days. Will be labeled Rundeck job Git Stale PR Check (git-stale-pr-bot), execution 2774990, project global, run by casalino |
|
No activity in 14 days, labeled Rundeck job Git Stale PR Check (git-stale-pr-bot), execution 2782141, project global, run by casalino |
Summary
Follow-up to #902 (MWPW-206368). Jira: https://jira.corp.adobe.com/browse/MWPW-209096
Once the upload finishes and the progress bar jumps to 100%, Unity has already committed the redirect to Acrobat, so clicking Cancel at that point can't stop it — users see Cancel "not work". Per design, hide the Cancel button from that moment.
transition-screen.js: newtoggleCancelButton(visible);splashVisibilityController()always restores the button so it's visible on the next upload.action-binder.jscontinueInApp(): hide Cancel as soon as the redirect is committed (before the bar fills to 100%).Test plan
toggleCancelButtonhide/show/no-button, restore on splash show/hide,continueInApphides Cancel before filling the bar (action-binder 252/252)stage)QA
Same Requestly setup as #902, but redirect to this branch:
/^https://www\.stage\.adobe\.com/unitylibs/(.*)/https://mwpw-209096-hide-cancel-button--unity--adobecom.aem.live/unitylibs/$1Steps (fresh incognito, signed out) on https://www.stage.adobe.com/acrobat/online/pdf-to-word.html: